//
//  CowClass.hpp
//  Practice12
//
//  Created by 赵世杰 on 2020/8/2.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#ifndef CowClass_hpp
#define CowClass_hpp

#include <stdio.h>

#endif /* CowClass_hpp */



class Cow
{
    char name[20];
    char *hobby;
    double weight;
    
public:
    Cow();
    Cow(const char *nm,const char *ho,double wt);
    Cow(const Cow &c);
    ~Cow();
    Cow & operator=(const Cow &c);
    void ShowCow() const;
    
    
};




